{extend name="base"}
{block name="title"}渠道详情{/block}
{block name="head"}
<style>
    .tab-content dl dt {width:70px;}
    .tab-content dl dd {margin-left:70px;}
    textarea{max-width:300px; max-height:65px;}
</style>
{/block}
{block name="body"}
<body class="mainbody" style="padding:0;margin:0;">
<form>

    <div class="tab-content" style="border:1px solid #eee;padding:0 5px">
        <dl style="text-align:center;color: red;">注意：增加或删除时请根据[  ]里的索引下标依次排序进行操作！</dl>
        <dl><dt>渠道标识：</dt><dd>{$row.ID??0}</dd></dl>
        <dl><dt>渠道名字：</dt><dd>{$row.Name??''}</dd></dl>

        <dl class="tab-cont0">
            <dt>[Server0]：</dt>
            <dd>
                <span style="padding-left: 30px;"></span>
                日志IP：<input type="text" width="100" class="input big" autocomplete="off" name="Srv0LogIP" value="{$row.Server0.LogConfig.LogIP}" />
                <span style="padding-left: 40px;">
                日志端口：<input type="text" class="input small" autocomplete="off" name="Srv0LogAd" value="{$row.Server0.LogConfig.LogPort}" />

            </span>
            </dd>
             <!----------------------------------------------------------------->
            {eq name='$row.Server0' value=''}
            <dd srv="1" key="0">
                ServerIP[0]：<input type="text" width="100" class="input big" autocomplete="off" name="Srv1IP0" value="0" />
                <span style="padding-left: 10px;">
                Server端口[0]：<input type="text" class="input small" autocomplete="off" name="Srv1Ad0" value="0" />

            </span>
                <a href="javascript:;"><i class="iconfont icon-add srvc" srv="1" key="0" title="增加"></i></a>
                {gt name="0" value="0"}<a href="javascript:;"><i class="iconfont icon-remove delS" title="删除"></i></a>{/gt}
            </dd>
            {else}
             <!----------------------------------------------------------------->
            {volist name="row.Server0.ServerConfig" id="v"}
            <dd srv="0" key="{$key}">
                ServerIP[{$key}]：<input type="text" width="100" class="input big" autocomplete="off" name="Srv0IP{$key}" value="{$v.ServerIP}" />
            <span style="padding-left: 10px;">
                Server端口[{$key}]：<input type="text" class="input small" autocomplete="off" name="Srv0Ad{$key}" value="{$v.ServerPort}" />

            </span>
                <a href="javascript:;"><i class="iconfont icon-add srvc" srv="0" key="{$key}" title="增加"></i></a>
            {gt name="$key" value="0"} {gt name="$key" value="0"}<a href="javascript:;"><i class="iconfont icon-remove delS" title="删除"></i></a>{/gt}{/gt}
            </dd>
                {/volist}

            {/eq}
        </dl>

        <dl>
            <dt>[Server1]：</dt>
            <dd>
                <span style="padding-left: 30px;"></span>
                日志IP：<input type="text" width="100" class="input big" autocomplete="off" name="Srv1LogIP" value="{$row.Server1.LogConfig.LogIP}" />
                <span style="padding-left: 40px;">
                日志端口：<input type="text" class="input small" autocomplete="off" name="Srv1LogAd" value="{$row.Server1.LogConfig.LogPort}" />

            </span>
            </dd>
            <!----------------------------------------->
            {eq name='$row.Server1' value=''}
            <dd srv="1" key="0">
                ServerIP[0]：<input type="text" width="100" class="input big" autocomplete="off" name="Srv1IP0" value="0" />
                <span style="padding-left: 10px;">
                Server端口[0]：<input type="text" class="input small" autocomplete="off" name="Srv1Ad0" value="0" />

            </span>
                <a href="javascript:;"><i class="iconfont icon-add srvc" srv="1" key="0" title="增加"></i></a>
                {gt name="0" value="0"}<a href="javascript:;"><i class="iconfont icon-remove delS" title="删除"></i></a>{/gt}
            </dd>
            {else}
           <!----------------------------------------->
            {volist name="row.Server1.ServerConfig" id="v"}
            <dd srv="1" key="{$key}">
                ServerIP[{$key}]：<input type="text" width="100" class="input big" autocomplete="off" name="Srv1IP{$key}" value="{$v.ServerIP}" />
                <span style="padding-left: 10px;">
                Server端口[{$key}]：<input type="text" class="input small" autocomplete="off" name="Srv1Ad{$key}" value="{$v.ServerPort}" />

            </span>
                <a href="javascript:;"><i class="iconfont icon-add srvc" srv="1" key="{$key}" title="增加"></i></a>
                {gt name="$key" value="0"}<a href="javascript:;"><i class="iconfont icon-remove delS" title="删除"></i></a>{/gt}
            </dd>
            {/volist}
            {/eq}



        </dl>

        <dl>
            <dt>[Server2]：</dt>
            <dd>
                <span style="padding-left: 30px;"></span>
                日志IP：<input type="text" width="100" class="input big" autocomplete="off" name="Srv2LogIP" value="{$row.Server2.LogConfig.LogIP}" />
                <span style="padding-left: 40px;">
                日志端口：<input type="text" class="input small" autocomplete="off" name="Srv2LogAd" value="{$row.Server2.LogConfig.LogPort}" />

            </span>
            </dd>
             <!----------------------------------------------------------------->
            {eq name='$row.Server2' value=''}
            <dd srv="1" key="0">
                ServerIP[0]：<input type="text" width="100" class="input big" autocomplete="off" name="Srv1IP0" value="0" />
                <span style="padding-left: 10px;">
                Server端口[0]：<input type="text" class="input small" autocomplete="off" name="Srv1Ad0" value="0" />

            </span>
                <a href="javascript:;"><i class="iconfont icon-add srvc" srv="1" key="0" title="增加"></i></a>
                {gt name="0" value="0"}<a href="javascript:;"><i class="iconfont icon-remove delS" title="删除"></i></a>{/gt}
            </dd>
            {else}
             <!----------------------------------------------------------------->
            {volist name="row.Server2.ServerConfig" id="v"}
            <dd srv="2" key="{$key}">
                ServerIP[{$key}]：<input type="text" width="100" class="input big" autocomplete="off" name="Srv2IP{$key}" value="{$v.ServerIP}" />
                <span style="padding-left: 10px;">
                Server端口[{$key}]：<input type="text" class="input small" autocomplete="off" name="Srv2Ad{$key}" value="{$v.ServerPort}" />

            </span>
                <a href="javascript:;"><i class="iconfont icon-add srvc" srv="2" key="{$key}" title="增加"></i></a>
                 {gt name="$key" value="0"}<a href="javascript:;"><i class="iconfont icon-remove delS" title="删除"></i></a>{/gt}
            </dd>
            {/volist}
            {/eq}
        </dl>

        <dl>
            <dt>[Server3]：</dt>
            <dd>
                <span style="padding-left: 30px;"></span>
                日志IP：<input type="text" width="100" class="input big" autocomplete="off" name="Srv3LogIP" value="{$row.Server3.LogConfig.LogIP}" />
                <span style="padding-left: 40px;">
                日志端口：<input type="text" class="input small" autocomplete="off" name="Srv3LogAd" value="{$row.Server3.LogConfig.LogPort}" />

            </span>
            </dd>
             <!----------------------------------------------------------------->
            {eq name='$row.Server3' value=''}
            <dd srv="1" key="0">
                ServerIP[0]：<input type="text" width="100" class="input big" autocomplete="off" name="Srv1IP0" value="0" />
                <span style="padding-left: 10px;">
                Server端口[0]：<input type="text" class="input small" autocomplete="off" name="Srv1Ad0" value="0" />

            </span>
                <a href="javascript:;"><i class="iconfont icon-add srvc" srv="1" key="0" title="增加"></i></a>
                {gt name="0" value="0"}<a href="javascript:;"><i class="iconfont icon-remove delS" title="删除"></i></a>{/gt}
            </dd>
            {else}
             <!----------------------------------------------------------------->

            {volist name="row.Server3.ServerConfig" id="v"}
            <dd srv="3" key="{$key}">
                ServerIP[{$key}]：<input type="text" width="100" class="input big" autocomplete="off" name="Srv3IP{$key}" value="{$v.ServerIP}" />
                <span style="padding-left: 10px;">
                Server端口[{$key}]：<input type="text" class="input small" autocomplete="off" name="Srv3Ad{$key}" value="{$v.ServerPort}" />

            </span>

                <a href="javascript:;"><i class="iconfont icon-add srvc" srv="3" key="{$key}" title="增加"></i></a>
                 {gt name="$key" value="0"}<a href="javascript:;"><i class="iconfont icon-remove delS" title="删除"></i></a>{/gt}
            </dd>
            {/volist}
            {/eq}
        </dl>
        <dl><dt>创建时间：</dt><dd>{$row.CreateTime??''}</dd></dl>
        <dl><dt>更新时间：</dt><dd>{$row.UpdateTime??''}</dd></dl>
    </div>
    
</form>
</body>


{/block}